home *** CD-ROM | disk | FTP | other *** search
-
-
- FAST SRITES
- by
- Mark Robin
-
-
- COMMODORE POWER/PLAY MAGAZINE
- June/July, 1986
- p.62
-
-
- This small utility adds commands to
-
- BASIC that allow you to move sprites
-
- 16 times faster than normal-- without
-
- PEEKS or POKES. The syntax of the
-
- new commands is:
-
- * 1 A
- ^ ^ ^
- asterisk sprite# direction
-
-
- For example, the command to move
-
- sprite number #1 up one position
-
- would be: *1A. (There are 16
-
- possible directions for the sprite to
-
- move, labeled from A to P. The
-
- Commodore Magazine article has a
-
- table of directions.)
-
-
- You may use more than one command
-
- in a row. For example:
-
-
- *1A*2E*3F84A
-
-
- And if you use an IF-THEN statement,
-
- a colon must come after THEN. For
-
- example, if you wanted to move sprite
-
- #1 up if variable A is equal to five,
-
- the command would read:
-
-
- IF A=5 THEN:*1A
-
-
- To use fast sprites in your own
-
- programs, write your own program
-
- between lines 97 and 1000 of FAST
-
- SPRITES. If you want to see what fast
-
- sprites look like, you can run FAST
-
- SPRITES and look at the demo.
-
-
- FILES REQUIRED:
-
- FAST SPRITES
-
- -----------< end of text >------------
-